package com.keensense.vcm.model;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author lanjian
 * @date 2020/5/7 5:05 下午
 */
@XmlRootElement(name = "request")
public class MigrateProfileRequest {

    private MigrateProfileRequest() {}

    public MigrateProfileRequest(List<String> dIds, String aId) {
        this.dIds = dIds;
        this.aId = aId;
    }

    /**
     * 人员档案id列表
     */
    @XmlElementWrapper(name = "dIds")
    @XmlElement(name = "dId")
    private List<String> dIds;

    /**
     * 迁入的档案库Id，如果涉及多个档案库，中间用逗号分隔
     */
    @XmlElement
    private String aId;

    public void setdIds(List<String> dIds) {
        this.dIds = dIds;
    }

    public void setaId(String aId) {
        this.aId = aId;
    }
}
